using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace Perovich.GameObjects.Controls.Shapes
{

    /// <summary>
    /// A solid color rectangle.
    /// </summary>
    public class Rectangle : RectangleBase
    {

        /// <summary>
        /// Constructs a new instance of the <see cref="Rectangle"/> class.
        /// </summary>
        /// <param name="game"><see cref="Perovich.GameObjects.Interfaces.ICanHoldComponents"/> instance that this <see cref="DrawableComponent"/> will be constructed for.</param>
        public Rectangle(Interfaces.ICanHoldComponents game)
            : base(game)
        {
        }


        /// <summary>
        /// Loads the content for the <see cref="Rectangle"/> class.
        /// </summary>
        protected override void LoadContent()
        {
            LineTex = Perovich.GameObjects.Helpers.Textures.GetSolidcolorTexture(GraphicsDevice);
            base.LoadContent();
        }
    }
}
